SlkMemberships Class

Contains lists of instructors, learners, and learner groups on a given SPWeb.

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public class SlkMemberships

Constructors
Name Description
Ð SlkMemberships

Initializes an instance of this class.

Properties
Name Description
Ð Instructors

Gets the collection of instructors on the SharePoint SPWeb associated with this object. A user is considered an instructor on a given SPWeb if they have the instructor permission on that SPWeb, i.e. the permission defined by SlkSPSiteMapping.InstructorPermission.

Ð LearnerGroups

Gets the collection of learner groups on the SharePoint SPWeb associated with this object. A SharePoint SPGroup or domain group is considered a learner group on a given SPWeb if it has the learner permission on that SPWeb, i.e. the permission defined by SlkSPSiteMapping.LearnerPermission.

Ð Learners

Gets the collection of learners on the SharePoint SPWeb associated with this object. A user is considered a learner on a given SPWeb if they have the learner permission on that SPWeb, i.e. the permission defined by SlkSPSiteMapping.LearnerPermission.

Remarks

A user is considered an instructor on a given SharePoint SPWeb if they have the instructor permission on that group, i.e. the permission defined by SlkSPSiteMapping.InstructorPermission. Similarly, a user is considered a learner if they have the learner permission, SlkSPSiteMapping.LearnerPermission.